package ru.hh.school.exceptions;

public class UserNotFoundException extends ChatException {
    public UserNotFoundException(String login, String password) {
        super(String.format("No user with login '%s' and password '%s'", login, password));
    }

    public UserNotFoundException(int userId) {
        super(String.format("No user with id '%s'", userId));
    }

    public UserNotFoundException(String login) {
        super(String.format("No user with login '%s'", login));
    }
}
